import axios from '@/libs/api.request'
import { getToken } from '@/libs/util'
// =============== news-system/advertisements/list.vue =========================
let auth_token = getToken();
//费用设置
//详情
export const getInfo = () => {
  return axios.request({
    url: 'api/v1.cuser.car_user/read_rule',
    params: {
      auth_token:auth_token,
    },
    method: 'get'
  })
}

export const editRule = (formData) => {
  formData.auth_token = auth_token;
  return axios.request({
    url: 'api/v1.cuser.car_user/update_rule',
    data:formData,
    method: 'post'
  })
}
